Routines (alphabetical) > Routines: H > HDF Routines > HDF_GR_READLUT

HDF_GR_READLUT

This function reads the palette specified by the parameter pal_id into the pal_data variable.

Syntax

Result = HDF_GR_READLUT( pal_id, pal_data [, /INTERLACE] )

Return Value

Returns SUCCEED (0) if successful or FAIL (-1) otherwise.

Arguments

pal_id

Palette identifier returned by HDF_GR_GETLUTID.

pal_data

A named variable that will contain the palette data.

Keywords

INTERLACE

Set this keyword to force pal_data to be returned in INTERLACE mode. The default is pixel-interlacing (0) other possible values are 1 (line) and 2 (component).

Version History

 

5.2

Introduced